prepare-root: Drop redundant print about signature/digest
authorColin Walters <walters@verbum.org>
Mon, 21 Aug 2023 18:05:14 +0000 (14:05 -0400)
committerColin Walters <walters@verbum.org>
Fri, 25 Aug 2023 19:22:21 +0000 (15:22 -0400)
We print if we're doing a signature+digest verification; its absence is
sufficient in the other case.  The goal here is to avoid polluting
the logs when signatures are not enabled.

src/switchroot/ostree-prepare-root.c

index 54a55c1dc45a57a041eb1aaf5c82e34472abe7a7..50ea0e92fb45dea219b3f3191a850e7c2cae330c 100644 (file)
@@ -493,7 +493,6 @@ main (int argc, char *argv[])
           // Or stated in reverse: if signature verification is enabled, then digest verification
           // must also be.
           g_assert (!composefs_config->is_signed);
-          g_print ("composefs: Mounting with no digest or signature check\n");
         }
 
       if (lcfs_mount_image (OSTREE_COMPOSEFS_NAME, TMP_SYSROOT, &cfs_options) == 0)